package com.tsll.dao;

import com.tsll.entity.Department;
import com.tsll.vo.EchartsVo;
import com.tsll.vo.Result;

import java.util.List;

/**
* @author 13142
* @description 针对表【department】的数据库操作Mapper
* @createDate 2024-03-19 14:04:35
* @Entity com.tsll.entity.Department
*/
public interface DepartmentMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Department record);

    int insertSelective(Department record);

    Result selectByPrimaryKey(Integer id);
    Department selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Department record);

    int updateByPrimaryKey(Department record);

    List<Department> selectAll();
    List<EchartsVo> selectname();

}
